/*******A SIDE BY SIDE CHECKOUT PAGE-Copy and Paste contents of this file into a (CSS FILE) snippet*******/

:root {
    --primary-color: #0055ff;
    --primary-color-light: #0055ff30;
    --background-color: #f7f8fa;
    --text-color: #474747;
}


.woocommerce {
    display: flex;
    flex-direction: column;
}

/* WooCommerce Checkout Page Form */
@media (min-width: 980px) {
    /* Left Side: "Enter Your Billing Information" */
    .woocommerce-checkout .woocommerce .col2-set,
    .woocommerce-checkout .woocommerce-page .col2-set {
        float: left;
        width: 44%;
		margin-left: 60px;
    }
    /* Right Side: "Order Details & Payment Processing" */
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout .woocommerce #order_review,
    .woocommerce-checkout .woocommerce-page #order_review {
        float: left;
        width: 44%;
        margin-left: 2%;
		margin-right: 60px;
    }
}

@media (max-width: 979px) {
    /* Left Side Billing Margin */
    .woocommerce-checkout .woocommerce .col2-set,
    .woocommerce-checkout .woocommerce-page .col2-set {
        margin-bottom: 2em;
    }
}

/*******LEFT SIDE LAYOUT CONTAINERS*******/

/* Form Container Styles */
.woocommerce-checkout .woocommerce .col2-set,
.woocommerce-checkout .woocommerce-page .col2-set {
    background: white;
    padding: 1em 2em;
    border-radius: 1em;
    border: 3px solid #ADADAD;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    float: left;
    width: 90%;
}

/* Title Styles For The Form Fields */
label,
input,
button,
select,
textarea {
   	font-size: 12px;
    line-height: 1.7;
    
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

/* Styles For Form Field */
input.text,
input.title,
input[type=email],
input[type=password],
input[type=tel],
input[type=text],
select,
textarea {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: white;
    height: 4em;
}

.woocommerce-account form .form-row,
.woocommerce-checkout form .form-row {
    margin-bottom: 1em;
}

/* Dropdown Styles For Form Field */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    height: 6em;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1em;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 1px;
    right: 5px;
    width: 25px;
}

.woocommerce-account form .payment_methods label,
.woocommerce-checkout form .payment_methods label {
    padding-left: 0px;
}

/* Focus Color Style For Form Field */
textarea:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=time]:focus,
input[type=week]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=color]:focus,
.uneditable-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: none;
    outline: 0;
}

.radio input[type=radio],
.checkbox input[type=checkbox] {
    top: 0px;
}

/*******RIGHT SIDE LAYOUT DETAILS "Order Details & Payment Processing" *******/

/* Right Side Headline Removal */
h3#order_review_heading {
    display: none; /*Leave This. A PHP Code Snippet Is Added For Custom Text */
}

/* Order Details & Payment Processing Container Styles */
div#order_review {
    background: white;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.1);
    position: sticky; 
    top: 100px; 
}
/*Order Review Order Details & Payment Processing*/

div#order_review {
    display: flex;
    flex-direction: column; /*Change this to column-reverse to reverse the order*/
}

/*Hide Cart Contents and Only Show Total + Shipping*/

.woocommerce-checkout-review-order tbody {
  display: table-row-group; /*Set to "none" if you'd like to hide */
}

/* Remove Product and Subtotal Headlines */
table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none; 
}

table.shop_table.woocommerce-checkout-review-order-table {
    color: var(--text-color);
    
	font-family: Arial;
    font-size: 14px; /*Adjust This To Adjust Order Review Font Size*/
}

.woocommerce table.shop_table {
  border: none;
}

/* Target every other cart item and set background color */
tr.cart_item:nth-child(odd) {
    background-color: #f7f8fa !important;
}

tr.cart_item:nth-child(even) {
    background-color: white !important;
}

span.woocommerce-Price-amount.amount {
    font-weight: bold;
}


strong.product-quantity {
    background: var(--primary-color-light);
    padding: 0.1em 0.5em;
    border-radius: 0.5em;
	font-family: Arial;
    font-size: 12px;
}

.woocommerce td.product-name .wc-item-meta p,
.woocommerce td.product-name .wc-item-meta:last-child,
.woocommerce td.product-name dl.variation p,
.woocommerce td.product-name dl.variation:last-child {
    margin-bottom: 0;
   
	font-family: Arial;
    font-size: 12px;
    font-weight: normal;
  	color: var(--text-color);
}

td.product-name {
    width: 100%;
    font-weight: bold;
}

td.product-total {
    justify-content: flex-start;
    display: flex;
}

table th,
table td {
    border: none !important;
}

tr.cart-subtotal {
    display: none; /*Remove this if you want to display subtotal*/
}

tr.woocommerce-shipping-totals.shipping {
    display: flex;
    margin-top: 2em;
    margin-bottom: 2em;
    border-top: 1px solid var(--primary-color-light);
    border-bottom: 1px solid var(--primary-color-light);
    flex-direction: column;
    align-content: stretch;
    align-items: flex-start;
}

.woocommerce ul#shipping_method li input {
    margin: 5px 5px 0 0;
    vertical-align: top;
}

/* Order Total Line Item Styles */
tr.order-total {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: var(--background-color);
    border-radius: 5px;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background-color: var(----primary-color);
    color: black;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

/* Stripe Form Field Styles */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: #fff;
    padding: 15px;
}

input#wc-stripe-new-payment-method {
    margin-right: 1em;
}

fieldset#wc-authnet-cc-form .input-text {
    height: 2em;
}

/* Place Order Button Styles */
#place_order {
    width: 100%;
    color: #fff;
	
    border: none;
    box-shadow: rgba(0, 0, 0, 0.28) 0px 2px 8px 0px;
    padding: 1.em;
    background: var(--primary-color); /* Change This to Change Button Color */
	border-radius: 8px;
}

#place_order:hover {
    color: rgba(255, 255, 255, 0.5);
}

/*******COUPON CODE & MESSAGE STYLES*******/


.woocommerce-info, .woocommerce-message {
  background-color: var(--background-color);
  color: var(--text-color);
  
  margin-top: 8px;
  border: solid 3px #ADADAD;
  border-radius: 10px;
  font-weight: bold;
  margin-left: 60px;
  margin-right: 60px;
  text-align: center;
}
.checkout_coupon p.form-row.form-row-last {
    float: none;
}

.checkout_coupon button.button {
    background-color: var(--primary-color);
    color: white;
}

/* Coupon Code Icon */
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1em;
    
}

form.checkout_coupon.woocommerce-form-coupon {
    padding: 3em;
    background: white;
    border-radius: 1em;
    margin-top: 0em;
    margin-bottom: 2em;
}

/* Error Alert */
.woocommerce-error {
    background-color: #ff7e7e;
    border: none;
    color: #761f1f;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    text-shadow: none;
	
}
.woocommerce #order_review {
  border-width: 2px 2px 2px 2px;
  border-style: solid #ADADAD;
  margin-bottom: 0;
  padding: 15px 15px;
  border: 3px solid #ADADAD;	
}
.woocommerce-info, .woocommerce-message {
  background-color: var(--background-color);
  color: var(--text-color);
  border: #ADADAD;
  margin-top: 8px;
  border: solid 3px #ADADAD;
  border-radius: 10px;
 
}
.woocommerce-billing-fields h3 {
     text-align: center;
}	
 .woocommerce .blockUI.blockOverlay:before,
.woocommerce .loader:before {
  position: fixed;
  content: " ";
  background-image: url("https://cssanswers.com/wp-content/uploads/2025/08/processor4.gif") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  top: 70%;
  left: 50%
  margin-left: -16px;
  margin-top: -16px;
  width:100px;
  height: 100px;
 animation: spin 10000.5s linear infinite;
  }

.secure-payment-message {
    font-size: 20px;
    color: red;
    margin-top: 1px;
	text-align: center;
	font-weight: 600;
}
#ship-to-different-address input[type="checkbox"] {
    width: 30px; /* Adjust the width as needed */
    height: 30px; /* Adjust the height as needed */
    /* Optional: Add some styling to make it visually stand out */
    	border-radius: 3px;
}
.woocommerce form .form-row label {
  font-size: 0.875rem;
  font-family: Arial;
}
woocommerce-page form .form-row input.input-text
{
  font-size: .875rem;
  font-weight: 400;
  font-family: Arial;
 }
.woocommerce form label {
  font-family: Arial;
  font-size: 18px;
  font-weight: 500;
  color: black;
}
.woocommerce #payment p, .woocommerce-page #payment p {
  font-size: .875rem;
  font-weight: 400;
  font-family: Arial;
}
.pofw-product-options-wrapper .field > label {
  font-weight: bold;
  font-size: 20px;
  font-family: Arial;
}
.woocommerce ul.order_details li strong {
  display: block;
  font-size: 1.4em;
  text-transform: none;
  line-height: 1.5;
  color: #000;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order, .woocommerce ul#shipping_method li {
  font-size: 14px;
}
